<ul nz-menu>
  <li nz-menu-item>
    <nz-space nzSize="middle">
      <i *nzSpaceItem nz-icon [nzIconfont]="'icon-shuaxin'"></i>
      <span *nzSpaceItem>刷新</span>
      <span *nzSpaceItem></span>
    </nz-space>
  </li>
  <li nz-menu-divider></li>
  <li nz-menu-item (click)="doUpload(false)">
    <nz-space nzSize="middle">
      <i *nzSpaceItem nz-icon [nzIconfont]="'icon-wenjianshangchuan'"></i>
      <span *nzSpaceItem>上传文件夹</span>
      <span *nzSpaceItem></span>
    </nz-space>
  </li>
  <li nz-menu-item  (click)="doUpload(true)">
    <nz-space nzSize="middle">
      <i *nzSpaceItem nz-icon [nzIconfont]="'icon-21upload'"></i>
      <span *nzSpaceItem>上传文件</span>
      <span *nzSpaceItem></span>
    </nz-space>
  </li>
  <li nz-menu-divider></li>
  <li nz-menu-item (click)="openCreateDirModal()">
    <nz-space nzSize="middle">
      <i *nzSpaceItem nz-icon [nzIconfont]="'icon-tianjiawenjianjia'"></i>
      <span *nzSpaceItem>新建文件夹</span>
      <span *nzSpaceItem></span>
    </nz-space>
  </li>
  <li nz-menu-item (click)="openCreateFileModal()">
    <nz-space nzSize="middle">
      <i *nzSpaceItem nz-icon [nzIconfont]="'icon-tianjiawenjian'"></i>
      <span *nzSpaceItem>新建文件</span>
      <span *nzSpaceItem></span>
    </nz-space>
  </li>
</ul>

<!--<nz-modal [(nzVisible)]="createModalVisible"-->
<!--          (nzOnCancel)="cancelCreateModal()"-->
<!--          (nzOnOk)="submitCreateInfo()"-->
<!--&gt;-->
<!--  <ng-container *nzModalTitle>-->
<!--    {{createModalTitle}}-->
<!--  </ng-container>-->
<!--  <ng-container *nzModalContent>-->
<!--    <input type="text" nz-input nzSize="large"/>-->
<!--  </ng-container>-->
<!--</nz-modal>-->

<nz-modal [(nzVisible)]="createModalVisible"
          nzClosable="false"
          (nzOnCancel)="cancelCreateModal()" (nzOnOk)="submitCreateInfo()">
  <ng-container *nzModalTitle>
    <nz-page-header
      [nzTitle]="createModalTitle"
    >
      <nz-page-header-extra>
        <button nz-button (click)="cancelCreateModal()">取消</button>
        <button nz-button nzType="primary" (click)="submitCreateInfo()">提交</button>
      </nz-page-header-extra>
    </nz-page-header>
  </ng-container>

  <ng-container *nzModalContent>
    <input type="text" nz-input nzSize="large" placeholder="filename ... " nzBorderless [(ngModel)]="filename"/>
  </ng-container>

  <ng-container *nzModalFooter style="display: none">
  </ng-container>
</nz-modal>
